make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 28 Aug 2021 19:29:36 +0000 (20:29 +0100)
committerRaspbian forward porter <root@raspbian.org>
Sat, 28 Aug 2021 19:29:36 +0000 (20:29 +0100)
commitddf6ecb4f0aa3650b69250bd7f486f5100ad350b
tree740fec3c6de82de5a0614a88daa48fdf8413ad08
parent6915d86d1493da736635a7c72d12fc64dec9f574
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c